<?php

namespace api\web\model;

use think\Model;

class NewsModel extends Model
{
    protected $name = 'news';

    public function getImageAttr($value)
    {
        return  cmf_get_image_url($value);
    }
}